package na.learn.java.sorting;

import java.util.Comparator;

public class SortableImpl implements Sortable{

	private String stringMessage;

	private static StringComparator comparator;

	public SortableImpl() {
		comparator = new StringComparator();
	}
	
	public SortableImpl(String message) {
		comparator = new StringComparator();
		this.stringMessage = new String(message);
	}
	

	public Comparator getComparator() {

		return comparator;
	}

	public String getStringMessage() { 
		return stringMessage;
	}

	public void setStringMessage(String stringMessage) {
		this.stringMessage = stringMessage;
	}

	

}
